[WIP]feat: add aisuite_llm_python extension with initial implementation#552
Closed
seymourtang wants to merge 1 commit intoTEN-framework:mainfrom
seymourtang:aisuite
Closed
[WIP]feat: add aisuite_llm_python extension with initial implementation#552seymourtang wants to merge 1 commit intoTEN-framework:mainfrom seymourtang:aisuite
seymourtang wants to merge 1 commit intoTEN-framework:mainfrom
seymourtang:aisuite
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new extension called
aisuite_llm_pythonand makes several adjustments to the existing configuration files to integrate this new extension. The most important changes include updating themanifest.jsonandproperty.jsonfiles, adding new Python files for the extension, and removing outdated extensions.Integration of
aisuite_llm_pythonextension:agents/examples/default/manifest.json: Added the newaisuite_llm_pythonextension to the manifest.agents/examples/default/property.json: Updated to include the newaisuite_llm_pythonextension and its configuration, replacing theopenai_chatgpt_pythonextension.Removal of outdated extensions:
agents/examples/default/property.json: Removed theweatherapi_tool_pythonandopenai_v2v_pythonextensions along with their configurations. [1] [2] [3]Addition of new extension files:
agents/ten_packages/extension/aisuite_llm_python/__init__.py: Added an import statement for the new extension.agents/ten_packages/extension/aisuite_llm_python/aisuite_llm_addon.py: Created the addon class for the new extension.agents/ten_packages/extension/aisuite_llm_python/aisuite_llm_extension.py: Implemented the main functionality of theaisuite_llm_pythonextension, including methods for handling messages, commands, and data.Configuration and dependencies:
agents/ten_packages/extension/aisuite_llm_python/manifest.json: Defined the properties, commands, and dependencies for the new extension.agents/ten_packages/extension/aisuite_llm_python/property.json: Added an empty property file for the new extension.agents/ten_packages/extension/aisuite_llm_python/requirements.txt: Listed theaisuitepackage as a dependency.